package com.foreknow.protals.service;

import com.foreknow.protals.dto.PmsProductCategoryChildrenDto;
import com.foreknow.protals.dto.PmsProductCategoryDto;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface PmsProductCategoryService {

    @Transactional
    public int create(PmsProductCategoryDto productCategoryDto);

    @Transactional
    public int update(Long id,PmsProductCategoryDto productCategoryDto);

    public List<PmsProductCategoryChildrenDto> listChildren();
}
